package consume;

import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author : xiaohong
 * @date : 2021/4/11 15:01
 * 如果要监听就要写@EnableRabbit  记得打开端口5672
 */
@EnableRabbit
@SpringBootApplication
public class RabbitMQConsumeApplication {

    public static void main(String[] args) {
        SpringApplication.run(RabbitMQConsumeApplication.class,args);
    }

}
